<template>
  <div>
    <div class="ccar" @click="goCar">
      <van-icon name="shopping-cart" badge="1" />
    </div>
  </div>
</template>

<script>
export default {
  name: "",
  data() {
    return {};
  },
  methods: {
    goCar() {
      this.$router.push("/shoppingcar");
    },
  },
};
</script>
<style scoped>
.ccar {
  width: 40px;
  height: 40px;
  opacity: 0.7;
  line-height: 50px;
  text-align: center;
  font-size: 25px;
  color: aliceblue;
  background-color: black;
  border-radius: 50%;
  position: absolute;
  right: 20px;
  bottom: 65px;
}
</style>